package com.hncc.dms.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 成药处方对象 dms_medicine_prescription_record
 * 
 * @author ruoyi
 * @date 2020-09-04
 */
@ApiModel(value = "成药处方实体")
public class DmsMedicinePrescriptionRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @ApiModelProperty(value = "id",required = false)
    private Long id;

    /** 成药处方状态：status  0作废 1未缴费 2已缴费 3已过期 */
    @ApiModelProperty(value = "成药处方状态：status  0作废 1未缴费 2已缴费 3已过期",required = false)
    @Excel(name = "成药处方状态：status  0作废 1未缴费 2已缴费 3已过期")
    private Integer status;

    /** 总金额 */
    @ApiModelProperty(value = "总金额",required = false)
    @Excel(name = "总金额")
    private BigDecimal amount;

    /** 处方名 */
    @ApiModelProperty(value = "处方名",required = false)
    @Excel(name = "处方名")
    private String name;

    /** 门诊Id(挂号号id) */
    @ApiModelProperty(value = "门诊Id(挂号号id)",required = false)
    @Excel(name = "门诊Id(挂号号id)")
    private Long registrationId;

    /** 退款状态 */
    @ApiModelProperty(value = "退款状态",required = false)
    @Excel(name = "退款状态")
    private Long refundStatus;

    /** 类型（普诊） */
    @ApiModelProperty(value = "类型（普诊）",required = false)
    @Excel(name = "类型", readConverterExp = "普=诊")
    private Integer type;

    /** 开立人 */
    @ApiModelProperty(value = "开立人",required = false)
    @Excel(name = "开立人")
    private Long createStaffId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setAmount(BigDecimal amount) 
    {
        this.amount = amount;
    }

    public BigDecimal getAmount() 
    {
        return amount;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setRegistrationId(Long registrationId) 
    {
        this.registrationId = registrationId;
    }

    public Long getRegistrationId() 
    {
        return registrationId;
    }
    public void setRefundStatus(Long refundStatus) 
    {
        this.refundStatus = refundStatus;
    }

    public Long getRefundStatus() 
    {
        return refundStatus;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setCreateStaffId(Long createStaffId) 
    {
        this.createStaffId = createStaffId;
    }

    public Long getCreateStaffId() 
    {
        return createStaffId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("amount", getAmount())
            .append("name", getName())
            .append("registrationId", getRegistrationId())
            .append("refundStatus", getRefundStatus())
            .append("type", getType())
            .append("createStaffId", getCreateStaffId())
            .toString();
    }
}
